]> dgit.raspbian.org Git - pcl.git/commitdiff
Fix FTBFS with Boost 1.90
authorTimo Röhling <roehling@debian.org>
Tue, 10 Mar 2026 16:10:47 +0000 (17:10 +0100)
committerTimo Röhling <roehling@debian.org>
Tue, 10 Mar 2026 16:10:59 +0000 (17:10 +0100)
Closes: #1129775
debian/patches/0004-Boost-1.90-compatibility.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/0004-Boost-1.90-compatibility.patch b/debian/patches/0004-Boost-1.90-compatibility.patch
new file mode 100644 (file)
index 0000000..5c47548
--- /dev/null
@@ -0,0 +1,26 @@
+From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
+Date: Tue, 10 Mar 2026 17:10:23 +0100
+Subject: Boost 1.90 compatibility
+
+Boost::system is no longer available
+---
+ outofcore/CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/outofcore/CMakeLists.txt b/outofcore/CMakeLists.txt
+index 2d613c1..1d668c5 100644
+--- a/outofcore/CMakeLists.txt
++++ b/outofcore/CMakeLists.txt
+@@ -76,10 +76,10 @@ set(LIB_NAME "pcl_${SUBSYS_NAME}")
+ 
+ if(BUILD_visualization)
+   PCL_ADD_LIBRARY(${LIB_NAME} COMPONENT ${SUBSYS_NAME} SOURCES ${srcs} ${incs} ${impl_incs} ${visualization_incs})
+-  target_link_libraries("${LIB_NAME}" pcl_common pcl_visualization Boost::system Boost::filesystem)
++  target_link_libraries("${LIB_NAME}" pcl_common pcl_visualization Boost::filesystem)
+ else()
+   PCL_ADD_LIBRARY(${LIB_NAME} COMPONENT ${SUBSYS_NAME} SOURCES ${srcs} ${incs} ${impl_incs})
+-  target_link_libraries("${LIB_NAME}" pcl_common Boost::system Boost::filesystem)
++  target_link_libraries("${LIB_NAME}" pcl_common Boost::filesystem)
+ endif()
+ if(HAVE_CJSON)
+   target_link_libraries("${LIB_NAME}" ${CJSON_LIBRARIES})
index 31deddb3e2a60ef31af5ec2e41ef48f16db539ef..4b029ee357d7f05781d5741f4ebb48e37869c3e2 100644 (file)
@@ -1,3 +1,4 @@
 0001-Fix-PCL_ROOT-path.patch
 0003-Use-newly-build-libs-when-testing.patch
 0004-Work-around-test-failing-on-i386.patch
+0004-Boost-1.90-compatibility.patch